package com.xuge.dao;

import com.xuge.pojo.UserInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginUserMapper {

    @Select("SELECT * FROM USER_INFO WHERE NAME = #{userName}")
    @ResultType(com.xuge.pojo.UserInfoEntity.class)
    UserInfoEntity findUserByUserName(String userName);
}
